-
Notifications
You must be signed in to change notification settings - Fork 27
Added New Tutorials #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| --- | ||
| # Anonymous Suggestion Box | ||
|
|
||
| The Anon Suggestion Box demonstrates TEN's encryption capabilities in a practical scenario. Users submit encrypted suggestions, ensuring true privacy and anonymity. This showcases how TEN solves the challenge of maintaining confidentiality in transparent blockchain environments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the word 'secrecy' instead of 'privacy' here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And 'hypothetical' instead of 'practical'
| require(block.timestamp < auctionEndTime, "Auction ended"); | ||
| bids[msg.sender] += msg.value; | ||
|
|
||
| if (msg.value > highestBid) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're doing extra computation here when we're the highest bidder, would it be possible to work out when you're the highest bidder? Just keep bidding until you notice gas increases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this calculation could be saved until the end and performed by whoever closes the bidding?
No description provided.